//package com.zhouyu.jpademo.repository.oneToMany;
//
//
//import com.zhouyu.jpademo.entity.oneToMany.bothway.GoodOrder;
//import org.springframework.data.jpa.repository.Query;
//import org.springframework.data.querydsl.QuerydslPredicateExecutor;
//import org.springframework.data.repository.CrudRepository;
//
//public interface OrderDao extends CrudRepository<GoodOrder, Long>, QuerydslPredicateExecutor<GoodOrder> {
//    @Query(nativeQuery = true, value = "select good_order.name from good_order order left join good_item item on orde.id= item.good_order_id AND item.`code`='001'")
//    GoodOrder findLeft();
//}
